import Vue from 'vue'


const config = {
    state: {
        ShowHeader: true, // 主界面头部
        ShowFooter: true, // 主界面底部
    },

    getters: {
      getShowHeader:(state) =>state.ShowHeader,
      getShowFooter:(state) =>state.ShowFooter,
    },

    mutations: {
      setShowHeader:(state,falg) => {
        Vue.set(state,"ShowHeader",falg)
      },
      setShowFooter:(state,falg) => {
        Vue.set(state,"ShowFooter",falg)
      },
    },
    
    actions: {
        
    },
}

export default config